override protected void onInit() { if (Attacker != null) { _cacheTranform = Attacker.FindInChildren(DummyPoint.ToString()); if (_cacheTranform == null) { _cacheTranform = Attacker.transform; } if (TraceType == eTraceType.eTraceType_SpecialPos) { if (SpecialPos == Vector3.zero) { Destroy(gameObject); return; } _lastTracePos = SpecialPos; } else { _lastTracePos = Target.transform.position; } } }
public static int StaticOverload(DummyPoint a) { return(2); }