Exemple #1
0
 public void RegisterSelf(StatuePiece piece)
 {
     StatuePieces.Add(piece);
     //tell the statue pieces who the statuepieceinspector is. kinda ugly and unnecessary
     piece.SetStatuePieceInspector(StatuePieceInspector);
 }
Exemple #2
0
 private void SpawnKey()
 {
     _key = PhotonNetwork.Instantiate(_keyPrefab.name, _keySpawnTransform.position, Quaternion.identity).gameObject.GetComponent <StatuePiece>();
 }