public static void Initialize() { BoardTransform = GameObject.Find("SceneHolder/Board").transform; RulersHolderTransform = BoardTransform.Find("RulersHolder"); StartingZone1 = BoardTransform.Find("Playmat/StaringZone1").gameObject; StartingZone2 = BoardTransform.Find("Playmat/StaringZone2").gameObject; MovementTemplates.PrepareMovementTemplates(); SetPlaymatImage(); }
public static void Initialize() { BoardTransform = GameObject.Find("SceneHolder/Board").transform; RulersHolderTransform = BoardTransform.Find("RulersHolder"); ObstacleHolderTransform = BoardTransform.Find("ObstaclesZone/ObstaclesHolder"); StartingZone1 = BoardTransform.Find("Playmat/StaringZone1").gameObject; StartingZone2 = BoardTransform.Find("Playmat/StaringZone2").gameObject; StartingZone3 = BoardTransform.Find("Playmat/StaringZone3").gameObject; StartingZone3a = BoardTransform.Find("Playmat/StaringZone3a").gameObject; StartingZone4 = BoardTransform.Find("Playmat/StaringZone4").gameObject; StartingZone4a = BoardTransform.Find("Playmat/StaringZone4a").gameObject; StartingZone5 = BoardTransform.Find("Playmat/StaringZone5").gameObject; MovementTemplates.PrepareMovementTemplates(); SetPlaymatScene(); }