コード例 #1
0
        public bool IsSubSceneReady(SubSceneGUID subSceneGUID)
        {
            if (!TrackedSubScenes.TryGetValue(subSceneGUID, out var targetHash))
            {
                return(false);
            }

            return(targetHash != new Hash128());
        }
コード例 #2
0
        public Hash128 GetTrackedSubSceneTargetHash(SubSceneGUID subSceneGUID)
        {
            if (!TrackedSubScenes.TryGetValue(subSceneGUID, out var targetHash))
            {
                Debug.Log($"Failed to find scubScene in TrackedSubScenes: {subSceneGUID}");
                targetHash = new Hash128();
            }

            return(targetHash);
        }