Esempio n. 1
0
 public void Awake()
 {
     chainedPuzzleInstance = GetComponentInChildren <ChainedPuzzleInstance>();
     id    = chainedPuzzleInstance.GetInstanceID();
     sound = new CellSoundPlayer(new Vector3(transform.position.x, transform.position.y + 50, transform.position.z));
     //lightCollection = LG_LightCollection.Create(chainedPuzzleInstance.m_sourceArea.m_courseNode, new Vector3(0, 0, 0), LG_LightCollectionSorting.Distance, float.MaxValue);
     Patch_StateChange.OnInteract += onStateChange;
 }
Esempio n. 2
0
 public static void Postfix(pChainedPuzzleState newState, ChainedPuzzleInstance __instance)
 {
     OnInteract?.Invoke(newState, __instance.GetInstanceID());
 }