예제 #1
0
    /// <summary>
    /// Sets up the manager.
    /// </summary>
    private void Initialize()
    {
        _instance = this;
#if UNITY_EDITOR
        _recompileMarker = new RecompiledMarker();
#endif
        _isDestroyed = false;
        UpdateCameraEvents(Camera.allCameras);
    }
예제 #2
0
 private void OnDestroy()
 {
     _instance    = null;
     _isDestroyed = true;
 }
    /// <summary>
    /// Sets up the manager.
    /// </summary>
    private void Initialize() {
        _instance = this;
#if UNITY_EDITOR
        _recompileMarker = new RecompiledMarker();
#endif
        _isDestroyed = false;
        UpdateCameraEvents(Camera.allCameras);
    }
 private void OnDestroy() {
     _instance = null;
     _isDestroyed = true;
 }
 private void OnEnable() {
     _object = target as SS_ShadowManager;
 }
예제 #6
0
 private void OnEnable()
 {
     _object = target as SS_ShadowManager;
 }