protected virtual void Start() { textureAssets = LookupAssetCache <TextureAssetCache>(); meshAssets = LookupAssetCache <MeshAssetCache>(); materialPropertyAssets = LookupAssetCache <MaterialPropertyAssetCache>(); if (textureAssets != null) { textureSerializers.Add(textureAssets.GetID(), textureAssets); } }
protected override void Awake() { base.Awake(); textureAssets = LookupAssetCache <TextureAssetCache>(); meshAssets = LookupAssetCache <MeshAssetCache>(); materialPropertyAssets = LookupAssetCache <MaterialPropertyAssetCache>(); if (textureAssets != null) { textureSerializers.Add(textureAssets.GetID(), textureAssets); } }