Exemplo n.º 1
0
 public SubSceneJob(RegionBase region, eSubSceneMode subSceneMode, eSubSceneType subSceneType, eSubSceneJobType jobType, Action <SubSceneJob> callback)
 {
     Region       = region;
     SubSceneMode = subSceneMode;
     SubSceneType = subSceneType;
     JobType      = jobType;
     Callback     = callback;
 }
Exemplo n.º 2
0
        private void OnEnable()
        {
            self = target as RegionBase;

            boundsSizeProperty = serializedObject.FindProperty("boundsSize");
            overrideRenderDistanceFarProperty      = serializedObject.FindProperty("overrideRenderDistanceFar");
            overrideRenderDistanceInactiveProperty = serializedObject.FindProperty("overrideRenderDistanceInactive");
            localRenderDistanceFarProperty         = serializedObject.FindProperty("localRenderDistanceFar");
            localRenderDistanceInactiveProperty    = serializedObject.FindProperty("localRenderDistanceInactive");
            drawBoundsProperty = serializedObject.FindProperty("drawBounds");
        }