コード例 #1
0
        // Creates a Text pop up at the world position
        public static void TextPopup(string text, Vector3 position)
        {
            if (LC_Utils.IsBuildForProduction())
            {
                return;
            }

            LC_GraphicsDebugUtils.CreateWorldTextPopup(text, position);
        }
コード例 #2
0
        // World text pop up at mouse position
        public static void WorldTextPopupMouse(string text)
        {
            if (LC_Utils.IsBuildForProduction())
            {
                return;
            }

            LC_GraphicsDebugUtils.CreateWorldTextPopup(text, Utils.LC_Utils.GetMouseWorldPosition());
        }
コード例 #3
0
 // Create a Text Popup in the World, no parent
 public static void CreateWorldTextPopup(string text, Vector3 localPosition, Vector3 finalPos)
 {
     LC_GraphicsDebugUtils.CreateWorldTextPopup(null, text, localPosition, 40, Color.white, localPosition + finalPos, 1f);
 }
コード例 #4
0
 // Create a Text Popup in the World, no parent
 public static void CreateWorldTextPopup(string text, Vector3 localPosition, float popupTime)
 {
     LC_GraphicsDebugUtils.CreateWorldTextPopup(null, text, localPosition, 40, Color.white, localPosition + new Vector3(0, .5f), popupTime);
 }