Esempio n. 1
0
        public void TryPrintWorldInformationText(string id, float timer, string text, Vector3 pos, Quaternion rot)
        {
            Canvas3D cnvs3d = Object.FindObjectOfType(typeof(Canvas3D)) as Canvas3D;

            if (cnvs3d)
            {
                cnvs3d.PrintWorldInformationText(id, timer, text, pos, rot);
            }
        }
Esempio n. 2
0
        public void TryPrintInformationText(string id, float timer, string text)
        {
            Canvas3D cnvs3d = Object.FindObjectOfType(typeof(Canvas3D)) as Canvas3D;

            if (cnvs3d)
            {
                cnvs3d.PrintInformationText(id, timer, text);
            }
        }