基础案例 准备改帧同步了

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2024-10-21 02:09:30 +08:00
parent 44e2735899
commit cbacd5a501
117 changed files with 17049 additions and 4808 deletions

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 7f1317ff9b314419b0e48ae76657c960
timeCreated: 1729415730

View File

@@ -0,0 +1,28 @@
using System;
using JNGame.Math;
using Sirenix.OdinInspector;
using UnityEngine;
namespace JNGame.Runtime.Odin.TypeCustomize
{
[Serializable]
public class OdinLVector3
{
[LabelText("X (x1000)")]
public int X;
[LabelText("Y (x1000)")]
public int Y;
[LabelText("Z (x1000)")]
public int Z;
public Vector3 ToVector3()
{
return (new LVector3(true, X * LFloat.RateOfOldPrecision, Y * LFloat.RateOfOldPrecision, Z * LFloat.RateOfOldPrecision)).ToVector3();
}
public LVector3 ToLVector3()
{
return (new LVector3(true, X * LFloat.RateOfOldPrecision, Y * LFloat.RateOfOldPrecision, Z * LFloat.RateOfOldPrecision));
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: bfdfa8bae636419282b29d0cfb4d9239
timeCreated: 1729415750