Exemplo 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;
 }
Exemplo n.º 2
0
 void Start()
 {
     Objects = GetComponent <Objects_Interaction>();
     Player  = GetComponent <PlayerBhysics>();
     Actions = GetComponent <ActionManager>();
 }