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