UnityEngine.Font.Internal_CreateFont C# (CSharp) Method

Internal_CreateFont() private method

private Internal_CreateFont ( [ _font, string name ) : void
_font [
name string
return void
        private static extern void Internal_CreateFont([Writable] Font _font, string name);
        [RequiredByNativeCode]

Usage Example

コード例 #1
0
        public Font(string name)
        {
            bool flag  = Path.GetDirectoryName(name) == string.Empty;
            bool flag2 = flag;

            if (flag2)
            {
                Font.Internal_CreateFont(this, name);
            }
            else
            {
                Font.Internal_CreateFontFromPath(this, name);
            }
        }
All Usage Examples Of UnityEngine.Font::Internal_CreateFont