Пример #1
0
    public static void Initialize()
    {
        _cachedCommander = PlayerManager.MainController.Commander;
        GridBuilder.Initialize();

        OrganizerStructures = LSUtility.CreateEmpty().transform;
        OrganizerStructures.transform.parent = PlayerManager.MainController.Commander.GetComponentInChildren <RTSAgents>().transform;
        OrganizerStructures.gameObject.name  = "OrganizerStructures";

        WallPositioningHelper.Initialize();

        UserInputHelper.OnSingleLeftTapDown  += HandleSingleLeftClick;
        UserInputHelper.OnSingleRightTapDown += HandleSingleRightClick;
    }
Пример #2
0
 public static void Initialize()
 {
     OrganizerWalls = LSUtility.CreateEmpty().transform;
     OrganizerWalls.transform.parent = ConstructionHandler.OrganizerStructures;
     OrganizerWalls.gameObject.name  = "OrganizerWalls";
 }