예제 #1
0
 void Start()
 {
     tapScript =  gameObject.GetComponentInChildren<touchMonitor>();
     bulletScript = portalBullet.GetComponent("portalBullet") as portalBullet;
     //msg = tapScript.ToString();
     //bicepsBone = character.transform.Find("bicepsSpine");
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     moveScript = sphere.GetComponent("movement") as movement;
     animScript = gameObject.GetComponent("CharacterAnim") as CharacterAnim;
     tapScript = sphere.GetComponent("touchMonitor") as touchMonitor;
        // bulletSpawn = sphere.GetComponent("bulletSpawn") as bulletSpawn;
     moveHandBone = false;
     touchMonitor.tapMonitor += tapDetected;
     angleEvent += angleMethod;
     // HANDLE THE CASE WHERE HE INSTANTIATES MULTIPLE BULLETS WHEN ANGLES R LOW...
     // USE EVENTS FOR SWIPE
     // EVENTS FOR ANIMS
 }