Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     Glucose_Vibe    = Player_Emotion.Normal;
     Glucose_Control = Player_Control.Normal;
     Glucose_An      = GetComponent <Glucose_Animation>();
     Glucose_Mo      = GetComponent <Glucose_Controls>();
     Glucose_Att     = GetComponent <Glucose_Attack>();
     Event_System.current.onCinematicBegin += Change_Control_To_Cinematic;
     Event_System.current.onCinematicEnd   += Change_Control_To_Normal;
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     // Get all components
     Glucose_An      = GetComponent <Glucose_Animation>();
     Glucose_St      = GetComponent <Glucose_States>();
     Glucose_Mo      = GetComponent <Glucose_Controls>();
     Audio_Prefab_Sp = GetComponent <Audio_Prefab_Spawner>();
     // Setup Current Health
     Current_Health = Max_Health;
 }
Esempio n. 3
0
 // Start is called before the first frame update
 void Start()
 {
     Glucose_An      = GetComponent <Glucose_Animation>();
     Audio_Prefab_Sp = GetComponent <Audio_Prefab_Spawner>();
 }