feat: expand editor scripting asset and viewport flow
This commit is contained in:
@@ -27,6 +27,8 @@ namespace Gameplay
|
||||
|
||||
public float Speed;
|
||||
public float ObservedFixedDeltaTime;
|
||||
public float ObservedConfiguredFixedDeltaTime;
|
||||
public float ObservedConfiguredFixedDeltaTimeInUpdate;
|
||||
public float ObservedUpdateDeltaTime;
|
||||
public float ObservedLateDeltaTime;
|
||||
public string Label = string.Empty;
|
||||
@@ -103,6 +105,7 @@ namespace Gameplay
|
||||
{
|
||||
FixedUpdateCount += 1;
|
||||
ObservedFixedDeltaTime = Time.deltaTime;
|
||||
ObservedConfiguredFixedDeltaTime = Time.fixedDeltaTime;
|
||||
}
|
||||
|
||||
public void Update()
|
||||
@@ -110,6 +113,7 @@ namespace Gameplay
|
||||
UpdateCount += 1;
|
||||
Speed += 1.0f;
|
||||
ObservedUpdateDeltaTime = Time.deltaTime;
|
||||
ObservedConfiguredFixedDeltaTimeInUpdate = Time.fixedDeltaTime;
|
||||
ObservedLocalPosition = transform.localPosition;
|
||||
Quaternion rotation = transform.localRotation;
|
||||
ObservedLocalRotation = new Vector4(rotation.x, rotation.y, rotation.z, rotation.w);
|
||||
|
||||
Reference in New Issue
Block a user