public void ActorStateChange(Actor actor, int state) { if (AnalyticsEnabled && actor != null) { AnalyticsManager.ActorStateChange(actor.ActorID, state); } }