void Awake() { _transform = this.transform; animator = this.gameObject.GetComponent<TPSpriteAnimator>(); if(!this.gameObject.activeInHierarchy == true) animation.Stop(); }
void OnEnable() { _target = (TPSpriteAnimator)target; }
void ActiveGameObject() { animator = this.gameObject.GetComponent<TPSpriteAnimator>(); }