BREAKING CHANGE: Renamed IInitialize.Initialized to IsInitialized

This commit is contained in:
2024-10-22 20:57:12 +03:00
parent fdc38fc800
commit 1f8fa78b76
7 changed files with 19 additions and 19 deletions

View File

@@ -113,7 +113,7 @@ public class BehaviourController : IBehaviourController
public bool Assign(IGameObject gameObject)
{
if (GameObject is not null && GameObject.Initialized)
if (GameObject is not null && GameObject.IsInitialized)
return false;
_gameObject = gameObject;
@@ -123,7 +123,7 @@ public class BehaviourController : IBehaviourController
public bool Unassign()
{
if (GameObject is not null && GameObject.Initialized)
if (GameObject is not null && GameObject.IsInitialized)
return false;
_gameObject = null!;