public virtual void OnInteractStart() { OnSuccessfulUse.Invoke(); /* switch (InteractionType) * { * case (ObjectInteractions.look): * break; * case (ObjectInteractions.take): * //add item to inventory * //hide * break; * case (ObjectInteractions.use): * //OnFailedUse * break; * case (ObjectInteractions.leave): * break; * case (ObjectInteractions.drag): * * break; * default: * //Debug.Log("Clicked!"); * break; * }*/ }
public virtual void OnInteractStart(InteractionManager callback) { //if (InteractionType == ObjectInteractions.take) Debug.Log(InteractionType); OnSuccessfulUse.Invoke(); }