Exemplo n.º 1
0
 public static void SetState(PersistentTriggerStateBase obj, bool state = true)
 {
     SetState(new PropertyName(obj.gameObject.scene.name).GetHashCode(), obj.SceneIndex, state);
 }
Exemplo n.º 2
0
 public static bool GetState(PersistentTriggerStateBase obj)
 {
     return GetState(new PropertyName(obj.gameObject.scene.name).GetHashCode(), obj.SceneIndex);
 }