Exemple #1
0
 new void Awake()
 {
     generalManager     = GeneralManager.GetInstance();
     workspaceEditor    = WorkspaceEditor.GetInstance();
     canvasManager      = CanvasManager.GetInstance();
     contextMenuManager = ContextMenuManager.GetInstance();
 }
        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);
        }
Exemple #3
0
 // Start is called before the first frame update
 void Start()
 {
     workspaceEditor = WorkspaceEditor.GetInstance();
     button          = gameObject.GetComponent <Button>();
     button.onClick.AddListener(AttachIC);
 }
Exemple #4
0
 new void Awake()
 {
     workspaceEditor     = WorkspaceEditor.GetInstance();
     partGroupController = PartGroupManager.GetInstance();
     partGroupController.gameObject.SetActive(false);
 }