protected void OnDestroy() { if (hogController != null) { hogController = null; } }
//private Rect screenRect; //---------------------------------------------------------------------- // static public methods //---------------------------------------------------------------------- //---------------------------------------------------------------------- // public methods //---------------------------------------------------------------------- //---------------------------------------------------------------------- // protected mono methods //---------------------------------------------------------------------- protected void Awake() { hogController = this; }