コード例 #1
0
 private ObjectInteraction(
     ObjectInteractionType objectInteractionType,
     string name,
     ObjectInteractionCharacterRole characterRole
     )
 {
     ObjectInteractionType = objectInteractionType;
     Name          = name;
     CharacterRole = characterRole;
 }
コード例 #2
0
 public void InitializeBase(ObjectInteractionType type)
 {
     m_baseType       = type;
     this.m_animation = GetComponent <Animation>();
 }
コード例 #3
0
 public static ObjectInteraction Create(ObjectInteractionType objectInteractionType,
                                        string name,
                                        ObjectInteractionCharacterRole characterRole = ObjectInteractionCharacterRole.NoCharacter)
 {
     return(new ObjectInteraction(objectInteractionType, name, characterRole));
 }