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); }
// Start is called before the first frame update void Start() { workspaceEditor = WorkspaceEditor.GetInstance(); button = gameObject.GetComponent <Button>(); button.onClick.AddListener(AttachIC); }
new void Awake() { workspaceEditor = WorkspaceEditor.GetInstance(); partGroupController = PartGroupManager.GetInstance(); partGroupController.gameObject.SetActive(false); }