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); }
private void Start() { _HumanMotor = GetComponent <HumanMotor>(); _Inventory = GetComponent <Inventory>(); _BlacklsitedNodes = new List <GameObject>(); }
void OnEnable() { _hm = GetComponent <HumanMotor>(); _hm.OnItemPickup += PickupItem; }
void Start() { _hm = transform.parent.GetComponent <HumanMotor>(); }
void Start() { _camera = Camera.main; _motor = GetComponent <HumanMotor>(); }