I have function as below:
public void PlayIfNotPlaying()
but when i modified it into
public void PlayIfNotPlaying(float speed)
the UnityEvent
will break.
Is there anyway to avoid this issue ? I heard about [FormerlySerializedAs("myValue")]
, but it use for renaming serialized field.