4 using System.ComponentModel;
6 using SiliconStudio.Core;
8 namespace SiliconStudio.Assets
13 [DataContract(Inherited =
true)]
21 internal bool IsIdLocked;
47 if (value !=
id && IsIdLocked)
48 throw new InvalidOperationException(
"Cannot change an Asset Object Id once it is locked by a package");
61 public int SerializedVersion {
get; set; }
67 [DataMember(
"~Base"), DefaultValue(null)]
78 public int BuildOrder {
get; set; }
virtual void SetDefaults()
Sets the defaults values for this instance
An asset item part of a Package accessible through Package.Assets.
Asset()
Initializes a new instance of the Asset class.
override string ToString()