/// <summary> /// Updates the selection the user uses the right click UI /// </summary> /// <param name="field"></param> /// <param name="oldValueObj"></param> protected virtual void selectMode(BaseField field, object oldValueObj) { //FindSelectedMode(); /*updateMultiMode();*/ foreach (Delegate d in OnUpdateMultiMode.GetInvocationList()) { GTIDebug.Log(d.Method.ToString()); } OnUpdateMultiMode.Invoke(); }
protected void InvokeOnUpdateMultiMode(bool silentUpdate = false) { OnUpdateMultiMode.Invoke(silentUpdate); }
/// <summary> /// After onstart, the mode can be updated. This cannot be done sooner, since all settings does not seem to be finished loading at that point. /// </summary> /// <param name="state"></param> public override void OnStartFinished(StartState state) { //updateMultiMode(silentUpdate: true); OnUpdateMultiMode.Invoke(silentUpdate: true); }