예제 #1
0
        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();
        }
예제 #2
0
파일: Board.cs 프로젝트: vitreuz/FlyCasual
        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();
        }