// Use this for initialization void Start() { AU = GetComponent <AudioSource> (); SC = GetComponent <SoundCore> (); rm = ceGO.GetComponent <RituelManager>(); takeAndSaveSpawn(); initPartie(); tutorial(); stopJoueurs(); }
// 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> (); }
// 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); }