コード例 #1
0
        private static void OnYesCreateTextureDescription(CreateTextureDescriptionDialogWindow window)
        {
            var textureDescription = ObjectCreatorHelper.CreateAsset <TextureDescription>(window.Name);

            textureDescription.JsonDataFile = window.JsonDataFile;
            textureDescription.Texture      = window.Texture2D;
            textureDescription.Name         = window.Name;
        }
コード例 #2
0
 public static void CreateTextureRepository()
 {
     ObjectCreatorHelper.CreateAsset <TextureRepository>();
 }
コード例 #3
0
 public static void CreatePublishDescription()
 {
     ObjectCreatorHelper.CreateAsset <PublishDescription>();
 }