Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     AU = GetComponent <AudioSource> ();
     SC = GetComponent <SoundCore> ();
     rm = ceGO.GetComponent <RituelManager>();
     takeAndSaveSpawn();
     initPartie();
     tutorial();
     stopJoueurs();
 }
Beispiel #2
0
    // Use this for initialization
    void Start()
    {
        DeathRayCastPoint = transform.Find("Mesh").transform.Find("DeathRayCastPoint").gameObject as GameObject;
        MeleeEffectZone   = transform.Find("Mesh").transform.Find("MeleeEffectZone").gameObject as GameObject;

        ChargeEffectZone = transform.Find("Mesh").transform.Find("BodyEffectZone").gameObject as GameObject;
        AN = GetComponentInChildren <Animator> ();
        AU = GetComponent <AudioSource> ();
        SC = GetComponent <SoundCore> ();
    }
Beispiel #3
0
 // Use this for initialization
 void Start()
 {
     MeleeEffectZone = transform.Find("Mesh").transform.Find("MeleeEffectZone").gameObject as GameObject;
     MOV             = GetComponent <Movement> ();
     AU = GetComponent <AudioSource> ();
     SC = GetComponent <SoundCore> ();
     AN = GetComponentInChildren <Animator> ();
     MeleeEffectZone.SetActive(false);
     SwordGrabPoint.SetActive(false);
 }