private ObjectInteraction( ObjectInteractionType objectInteractionType, string name, ObjectInteractionCharacterRole characterRole ) { ObjectInteractionType = objectInteractionType; Name = name; CharacterRole = characterRole; }
public void InitializeBase(ObjectInteractionType type) { m_baseType = type; this.m_animation = GetComponent <Animation>(); }
public static ObjectInteraction Create(ObjectInteractionType objectInteractionType, string name, ObjectInteractionCharacterRole characterRole = ObjectInteractionCharacterRole.NoCharacter) { return(new ObjectInteraction(objectInteractionType, name, characterRole)); }