Esempio n. 1
0
 public CharaLoadEventArgs(ChaControl _chara, CharaLoadMode _mode, CharaLoadState _state)
 {
     ChaControl = _chara;
     OCIChar    = GetOCIChar(_chara);
     Mode       = _mode;
     State      = _state;
 }
Esempio n. 2
0
 public CharaLoadEventArgs(OICharInfo _chara, CharaLoadMode _mode, CharaLoadState _state)
 {
     ChaControl = GetChaControl(_chara);
     OCIChar    = GetOCIChar(_chara);
     Mode       = _mode;
     State      = _state;
 }
Esempio n. 3
0
 public CharaLoadEventArgs(OCIChar _chara, CharaLoadMode _mode, CharaLoadState _state)
 {
     ChaControl = _chara?.charInfo;
     OCIChar    = _chara;
     Mode       = _mode;
     State      = _state;
 }
Esempio n. 4
0
            internal static IEnumerator AddObjectChara_Coroutine(OCIChar _chara, CharaLoadMode _mode)
            {
                yield return(new WaitForEndOfFrame());

                yield return(new WaitForEndOfFrame());

                OnCharaLoad?.Invoke(null, new CharaLoadEventArgs(_chara, _mode, CharaLoadState.Coroutine));
                Core.DebugLog($"AddObjectChara_Coroutine [mode: {_mode}]");
            }