public override object Clone()
    {
        var clone = new WaitTimeEffector {
            Value = Value
        };

        return(clone);
    }
Esempio n. 2
0
 /// <inheritdoc/>
 public override void StartEditing(TriggerEditPanel triggerPanel, ScenarioTrigger trigger, TriggerEffector effector)
 {
     parentPanel          = triggerPanel;
     editedEffector       = (WaitTimeEffector)effector;
     valueInputField.text = editedEffector.Value.ToString("F");
 }