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

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