コード例 #1
0
        public static DirectorNamedColor CreateAndLoadFromText(string text)
        {
            DirectorNamedColor instance = CreateInstance <DirectorNamedColor>();

            instance.FromText(text);
            return(instance);
        }
コード例 #2
0
        public static DirectorNamedColor CreateAndLoadFromText(string text)
        {
            DirectorNamedColor directorNamedColor = ScriptableObject.CreateInstance <DirectorNamedColor>();

            directorNamedColor.FromText(text);
            return(directorNamedColor);
        }