public BEHAVIOR_STATUS Behavior_GoToObjectInteractionPoint(Transform Object, bool Run) { NPCObject obj = Object.GetComponent <NPCObject>(); if (obj != null) { Transform point = obj.MainInteractionPoint; return(Behavior_GoTo(point.position, Run)); } else { return(BEHAVIOR_STATUS.FAILURE); } }
public BEHAVIOR_STATUS Behavior_GrabRightHand(NPCObject Object, bool Grab = true) { gNPCController.Body.GrabRightHand(Object, Grab); return(BEHAVIOR_STATUS.SUCCESS); }