コード例 #1
0
        /// <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();
        }
コード例 #2
0
 protected void InvokeOnUpdateMultiMode(bool silentUpdate = false)
 {
     OnUpdateMultiMode.Invoke(silentUpdate);
 }
コード例 #3
0
 /// <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);
 }