예제 #1
0
        void Awake()
        {
            // Initialize singleton
            instance = this;

            /*    // Initialize bullet shells particles
             *              for (int i = 0; i < ShellParticles.Length; i++)
             *              {
             *                              var em = ShellParticles[i].emission;
             *                              em.enabled = false;
             *                              ShellParticles[i].gameObject.SetActive(true);
             *              }*/
        }
 private void Start()
 {
     rb         = GameObject.FindGameObjectWithTag("GameController").GetComponent <RunBehaviour>();
     miningMode = true;
     F3DFXController gfxController = GetComponent <F3DFXController>();
 }