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

        InitializeQueue();
    }
Ejemplo n.º 3
0
Archivo: Face.cs Proyecto: ruttuk/kubik
    void Start()
    {
        KubeQueue   = KubeQueue.Instance;
        ModeManager = ModeManager.Instance;

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

        m_Renderer = GetComponent <MeshRenderer>();
    }
Ejemplo 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;
    }