Exemple #1
0
        public void DieTgtObj()
        {
            MiroModelV1 model = _TgtObj.GetComponent <MiroModelV1> ();

            if (model != null)
            {
                model.Die();
                _TgtObj = null;
                //Destroy (_TgtObj);
            }
            Invoke("InvokeTgtObjChanged", 1.0f);
        }