Esempio n. 1
0
 void Start()
 {
     KubeQueue            = KubeQueue.Instance;
     kubeCollider         = GetComponent <BoxCollider>();
     kubeCollider.enabled = false;
     faces = GetComponentsInChildren <Face>();
 }
Esempio n. 2
0
    void Awake()
    {
        if (Instance == null)
        {
            Instance = this;
        }

        InitializeQueue();
    }
Esempio n. 3
0
File: Face.cs Progetto: ruttuk/kubik
    void Start()
    {
        KubeQueue   = KubeQueue.Instance;
        ModeManager = ModeManager.Instance;

        colorPicker = FindObjectOfType <FlexibleColorPicker>();
        pointerKube = PointerKube.Instance;

        m_Renderer = GetComponent <MeshRenderer>();
    }
Esempio n. 4
0
    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;
    }