public override void HandleEvent(GameObject in_gameObject) { if (!loadAsynchronous) { TBank tdate = data as TBank; tdate.TLoad(decodeBank, saveDecodedBank, LoadOverDetector); // FormAddressablesToLoadBank(); } else { data.LoadAsync(); } }
protected override void Awake() { triggerList = new System.Collections.Generic.List <int> { START_TRIGGER_ID }; unloadTriggerList = new System.Collections.Generic.List <int> { DESTROY_TRIGGER_ID }; if (string.IsNullOrEmpty(tBankName)) { Debug.LogWarning("bankName 为空,请注意在Awake 执行前设置!!"); } else { data = new TBank(tBankName); } base.Awake(); }