Пример #1
0
 new void Awake()
 {
     generalManager     = GeneralManager.GetInstance();
     workspaceEditor    = WorkspaceEditor.GetInstance();
     canvasManager      = CanvasManager.GetInstance();
     contextMenuManager = ContextMenuManager.GetInstance();
 }
Пример #2
0
        new void Awake()
        {
            // We can't get a reference to a disabled object so call this
            // to make sure the instance is determined before setting active to false
            ContextMenuManager.GetInstance();

            workspaceEditor = WorkspaceEditor.GetInstance();
            raycastManager  = RaycastManager.GetInstance();
            breadBoard      = BreadBoard.GetInstance();
            gameObject.SetActive(false);
        }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     workspaceEditor = WorkspaceEditor.GetInstance();
     button          = gameObject.GetComponent <Button>();
     button.onClick.AddListener(AttachIC);
 }
Пример #4
0
 new void Awake()
 {
     workspaceEditor     = WorkspaceEditor.GetInstance();
     partGroupController = PartGroupManager.GetInstance();
     partGroupController.gameObject.SetActive(false);
 }