private static void InGameObject_OnCreate(InGameObject inGameObject) { var data = AbilityDatabase.GetObstacle(inGameObject.ObjectName); if (data == null) { return; } AddAfterFrame.Add(new TrackedObstacleObject(inGameObject.Get <MapGameObject>(), data)); }