public override void onAwake() { princesseVie = GetComponent <PrincesseVie>(); princesseArme = GetComponent <PrincesseArme>(); princesseDeplacement = GetComponent <PrincesseDeplacement>(); princessePouvoirGlace = GetComponentInChildren <PrincessePouvoirGlace> (true); princesseObjetProgression = GetComponent <PrincesseObjetProgression>(); cam = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <camera>(); }
// Use this for initialization void Start() { deplacement = GameObject.FindGameObjectWithTag("Player").GetComponent <PrincesseDeplacement>(); juliette = GameObject.FindGameObjectWithTag("Player").GetComponent <PrincesseObjetProgression> (); dicoInventaire = new Dictionary <EnumObjetProgression, GameObject> (); // dicoNbObjet = new Dictionary<EnumObjetProgression, int> (); affiche = false; instance = this; }
// Use this for initialization void Start() { juliette = GameObject.FindGameObjectWithTag("Player").GetComponent <PrincesseObjetProgression>(); affichageObjetRamasser = GameObject.FindGameObjectWithTag("HUDAffichageObjetRamasser").GetComponent <AffichageObjetRamasser> (); affichageobjetActuel = GameObject.FindGameObjectWithTag("HUDAffichageInventaire").GetComponent <AffichageInventaire> (); }
void Awake() { juliette = GameObject.FindGameObjectWithTag("Player").GetComponent <PrincesseObjetProgression>(); utilise = false; }
// Use this for initialization void Awake() { anim = GetComponent <Animator>(); juliette = GameObject.FindGameObjectWithTag("Player").GetComponent <PrincesseObjetProgression>(); }