public CharaLoadEventArgs(ChaControl _chara, CharaLoadMode _mode, CharaLoadState _state) { ChaControl = _chara; OCIChar = GetOCIChar(_chara); Mode = _mode; State = _state; }
public CharaLoadEventArgs(OICharInfo _chara, CharaLoadMode _mode, CharaLoadState _state) { ChaControl = GetChaControl(_chara); OCIChar = GetOCIChar(_chara); Mode = _mode; State = _state; }
public CharaLoadEventArgs(OCIChar _chara, CharaLoadMode _mode, CharaLoadState _state) { ChaControl = _chara?.charInfo; OCIChar = _chara; Mode = _mode; State = _state; }
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}]"); }