void Awake() { if (Instance == null) { Instance = this; } }
void Start() { mainCamera = Camera.main; pointerKube = PointerKube.Instance; modeManager = ModeManager.Instance; exportCamera = GameObject.FindGameObjectWithTag(exportCamTag).GetComponent <Camera>(); }
void Start() { KubeQueue = KubeQueue.Instance; ModeManager = ModeManager.Instance; colorPicker = FindObjectOfType <FlexibleColorPicker>(); pointerKube = PointerKube.Instance; m_Renderer = GetComponent <MeshRenderer>(); }
void Start() { pointerKube = PointerKube.Instance; kubeQueue = KubeQueue.Instance; currentGameMode = GameMode.Default; SetGameMode(GameMode.Append, true, true); mainCamera = Camera.main; startingCameraPosition = mainCamera.transform.position; exportCamera = GameObject.FindGameObjectWithTag(exportCamTag).GetComponent <Camera>(); currentlyRotating = false; pointerKubeActive = true; }