Ejemplo n.º 1
0
 private void Awake()
 {
     if (Instance != null)
     {
         Destroy(gameObject);
     }
     else
     {
         Instance = this;
     }
 }
Ejemplo n.º 2
0
    // Start is called before the first frame update
    void Start()
    {
        instance = this;

        DisableAllPostProcessEff();
    }
Ejemplo n.º 3
0
#pragma warning restore 0219, 414

    private void OnEnable()
    {
        this._sPostProcessController = this.target as PostProcessController;
    }