Example #1
0
 protected void OnDestroy()
 {
     if (hogController != null)
     {
         hogController = null;
     }
 }
Example #2
0
    //private Rect screenRect;

    //----------------------------------------------------------------------
    // static public methods
    //----------------------------------------------------------------------
    //----------------------------------------------------------------------
    // public methods
    //----------------------------------------------------------------------
    //----------------------------------------------------------------------
    // protected mono methods
    //----------------------------------------------------------------------
    protected void Awake()
    {
        hogController = this;
    }