Exemplo n.º 1
0
 public override void OnEditorGUI(bool showHelp)
 {
     this.triggerFrame  = EditorGUILayout.IntField("Trigger Frame", this.triggerFrame);
     this.triggerType   = (DMKTriggerType)EditorGUILayout.EnumPopup("Trigger Type", this.triggerType);
     this.triggerTarget = (DMKTriggerTarget)EditorGUILayout.EnumPopup("Trigger Target", this.triggerTarget);
 }
Exemplo n.º 2
0
 public virtual void CopyFrom(DMKTrigger trigger)
 {
     this.triggerFrame  = trigger.triggerFrame;
     this.triggerType   = trigger.triggerType;
     this.triggerTarget = trigger.triggerTarget;
 }