protected virtual void BeginRandomRotation(RandomRotation data, RandomRotation group) { var handler = new BeginRandomRotation(); handler.System = this; handler.Event = data; handler.Group = group; StartCoroutine(handler.Execute()); }
protected void BeginRandomRotationFilter(RandomRotation data) { var GroupRandomRotation = RandomRotationManager[data.EntityId]; if (GroupRandomRotation == null) { return; } if (!GroupRandomRotation.Enabled) { return; } this.BeginRandomRotation(data, GroupRandomRotation); }