private void Start() { if (mInstance == null) { mInstance = this; } else if (mInstance != this) { Destroy(gameObject); } }
private void OnEnable() { mObj = (SimpleLeanFX)target; }
private void Start() { if (mInstance == null) { mInstance = this; } else if (mInstance != this) { Destroy(gameObject); } }
private void OnEnable() { mObj = (SimpleLeanFX)target; }