コード例 #1
0
        protected override void OnInitializeSingletonState()
        {
            this.sceneLinks = StratusScene.GetComponentsInAllActiveScenes <SceneLinkerEvent>();
            int numScenes = StratusScene.activeScenes.Length;

            this.sceneBoundaries = new Bounds[numScenes];
            for (int i = 0; i < numScenes; ++i)
            {
                this.sceneBoundaries[i] = StratusScene.activeScenes[i].visibleBoundaries;
            }
        }