void DoTheMethod() { var go = Fsm.GetOwnerDefaultTarget(gameObject); if (go == null) { return; } theScript.ShowHitEffectAtPosition(pos.Value); }