コード例 #1
0
        public void Load()
        {
            _lastLoadCall = null;

            this.DoLoad();
            Scene.RegisterLoadedScene(this);
        }
コード例 #2
0
            private System.Collections.IEnumerator WaitForLoadRoutine()
            {
                yield return(_op);

                if (this != Scene._lastLoadCall)
                {
                    //another load async was called
                    this.SetSignal();
                    yield break;
                }

                Scene._lastLoadCall = null;
                Scene.RegisterLoadedScene(_scene);
                this.SetSignal();
            }