public void Start(ref ElimlnateGrid param) { Grid = param; if (ApplyUpdate) { if (mUpdater == default) { mUpdater = new MethodUpdater() { Update = Update }; UpdaterNotice.AddSceneUpdater(mUpdater); } else { } } else { EffectMethod?.Invoke(Grid, this, Param); } }
public virtual void Update(int time) { EffectMethod?.Invoke(Grid, this, Param); }