Ejemplo n.º 1
0
 void Awake()
 {
     Player           = GetComponent <PlayerBhysics>();
     Level            = GetComponent <LevelProgressControl>();
     counter          = InvencibilityTime;
     Actions          = GetComponent <ActionManager>();
     Objects          = GetComponent <Objects_Interaction>();
     releaseDirection = new GameObject();
     Cam          = GetComponent <CameraControl>();
     InitialDir   = transform.forward;
     Inp          = GetComponent <PlayerBinput>();
     this.enabled = true;
 }