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; }
public static void Initialize() { OrganizerWalls = LSUtility.CreateEmpty().transform; OrganizerWalls.transform.parent = ConstructionHandler.OrganizerStructures; OrganizerWalls.gameObject.name = "OrganizerWalls"; }