public override void Reset() { if (Application.isPlaying) { m_LastBehaviourMode = null; m_ActiveBehaviourMode = null; m_DesignatedBehaviourMode = null; m_DesignatedBehaviourModeKey = ""; } else { BehaviourModes.Clear(); } }
public void Copy(BehaviourObject _object) { if (_object == null) { return; } base.Copy(_object); BehaviourModes.Clear(); foreach (BehaviourModeObject _mode in _object.BehaviourModes) { BehaviourModes.Add(new BehaviourModeObject(_mode)); } }
public void Reset() { BehaviourModes.Clear(); }