void Start() { KubeQueue = KubeQueue.Instance; kubeCollider = GetComponent <BoxCollider>(); kubeCollider.enabled = false; faces = GetComponentsInChildren <Face>(); }
void Awake() { if (Instance == null) { Instance = this; } InitializeQueue(); }
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; }