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