Skip to content
Permalink
Browse files

Fixed prototype integration for asset framework

  • Loading branch information...
kennux committed Oct 27, 2018
1 parent db4e54e commit b7f806a8bebd7b74ea4ecdf227b1eab03de2754b
@@ -2,9 +2,23 @@
using System.Collections.Generic;
using UnityEngine;
using UnityTK.AssetManagement;
using UnityTK.Prototypes;

[CreateAssetMenu(fileName = "AssetExample", menuName = "UnityTK/Examples/AssetExample")]
public class AssetExample : ManagedScriptableObject
public class AssetExample : ManagedScriptableObject, IManagedPrototype
{
public string testStr;

string IPrototype.identifier
{
get
{
return this.identifier;
}

set
{
this.identifier = value;
}
}
}
@@ -1556,6 +1556,7 @@ GameObject:
- component: {fileID: 1720455130}
- component: {fileID: 1720455135}
- component: {fileID: 1720455136}
- component: {fileID: 1720455137}
- component: {fileID: 1720455129}
- component: {fileID: 1720455134}
m_Layer: 5
@@ -1694,6 +1695,21 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
unloadOnDestroy: 0
--- !u!114 &1720455137
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1720455128}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31a9b13c862d99e4789be14e36f6ab8c, type: 3}
m_Name:
m_EditorClassIdentifier:
unloadOnDestroy: 0
paths:
- '[STREAMING_ASSETS]'
standardNamespace:
--- !u!1 &1910472439
GameObject:
m_ObjectHideFlags: 0

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit b7f806a

Please sign in to comment.
You can’t perform that action at this time.