private ScoreMessage PushWorld(ScoreFlashFollow3D follow3D, object message, Color? color, GUIStyle style, GUIStyle styleHighDensity) { if (!follow3D.keepStatic) { return PushLocal(message, color, style, styleHighDensity, follow3D.GetInstanceID(), follow3D); } else { Vector3 worldPosition = follow3D.GetLocation().CurrentTranslatedPosition; Vector2 screenOffset = follow3D.GetLocation().CurrentScreenOffset; ScoreMessage msg = PushWorld(worldPosition, screenOffset, message, color, style, styleHighDensity, follow3D.GetInstanceID()); return msg; } }
internal ScoreMessage PushWorldInternal(ScoreFlashFollow3D follow3D, object message, bool enqueueMessage) { // follow3D.keepStatic is ignored in the specific case return PushLocal(message, null, null, null, enqueueMessage ? (int?) follow3D.GetInstanceID() : null, follow3D); }