コード例 #1
0
 public MissionTrigger(int prefab, int objectType, ObjectPosition transform, object data)
 {
     this.prefab    = (Prefabs)prefab;
     this.transform = transform;
     this.type      = (Types)objectType;
     this.data      = data;
 }
コード例 #2
0
ファイル: Enemy.cs プロジェクト: afroraydude/tradesecret
 public Enemy(string name, ObjectPosition objectPosition, int state, ObjectPosition[] patrolPoints)
 {
     this.patrolPoints = patrolPoints;
     this.startState   = (States)state;
     this.transform    = objectPosition;
     this.name         = name;
 }
コード例 #3
0
 public InteractableObject(int objectType, ObjectPosition transfrom)
 {
     this.transfrom  = transfrom;
     this.objectType = (Types)objectType;
 }