rise-and-swine/Assets/Scripts/Assembly-CSharp/DessertPlace.cs
2023-02-25 23:04:03 -05:00

20 lines
378 B
C#

using UnityEngine;
public class DessertPlace : MonoBehaviour
{
private void OnDrawGizmos()
{
Gizmos.matrix = base.transform.localToWorldMatrix;
if (this.isFlying)
{
Gizmos.color = new Color(1f, 1.05f, 0f, 0.6f);
}
else
{
Gizmos.color = new Color(1f, 0.5f, 0.15f, 0.6f);
}
Gizmos.DrawCube(Vector3.up * 0.5f, Vector3.one);
}
public bool isFlying;
}