removed unused plugins, added reverse function to hidden objects

This commit is contained in:
2025-02-26 10:00:34 +01:00
parent 555d1ec82d
commit b7e10c6df1
3192 changed files with 4 additions and 154761 deletions

View File

@@ -11,6 +11,9 @@ namespace Beyond
public Collider m_actionCollider;
private bool alreadyUsed = false;
[Tooltip("If true, collider will be disabled insted of enabled")]
[SerializeField]
private bool m_reverseAction = false;
// Start is called before the first frame update
private void Start()
@@ -35,7 +38,7 @@ namespace Beyond
return;
}
if (m_actionCollider)
m_actionCollider.enabled = enabled;
m_actionCollider.enabled = !m_reverseAction;
}
public void MarkAsAlreadyUsed()