Esempio n. 1
0
 public bool JumpOn(HumanMotor Human)
 {
     _animTime      = 0f;
     _climbingHuman = Human.gameObject;
     _climbingHuman.SetActive(false);
     _climbAnim.SetActive(true);
     _climbingHuman.GetComponent <ICharacter>().InteractableList.Remove(this);
     _isClimbing = true;
     return(true);
 }
 public bool JumpOn(HumanMotor Human)
 {
     return(false);
 }
Esempio n. 3
0
 private void Start()
 {
     _HumanMotor       = GetComponent <HumanMotor>();
     _Inventory        = GetComponent <Inventory>();
     _BlacklsitedNodes = new List <GameObject>();
 }
Esempio n. 4
0
 void OnEnable()
 {
     _hm = GetComponent <HumanMotor>();
     _hm.OnItemPickup += PickupItem;
 }
Esempio n. 5
0
 void Start()
 {
     _hm = transform.parent.GetComponent <HumanMotor>();
 }
Esempio n. 6
0
 void Start()
 {
     _camera = Camera.main;
     _motor  = GetComponent <HumanMotor>();
 }