@@ -13,7 +13,23 @@ namespace Ichni.Editor
|
||||
public TMP_Text intervalUnitText;
|
||||
public float time;
|
||||
public int index;
|
||||
|
||||
public bool isInScreen
|
||||
{
|
||||
get => _isInScreen;
|
||||
set
|
||||
{
|
||||
_isInScreen = value;
|
||||
if (_isInScreen)
|
||||
{
|
||||
transform.localScale = Vector3.one;
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.localScale = Vector3.zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool _isInScreen = false;
|
||||
|
||||
// [Title("poss")]
|
||||
// public Vector3 position;
|
||||
|
||||
Reference in New Issue
Block a user