//pseudo-constructor protected void Initialize(string name, string defaultName) { this.name = name; speed = 1d; hasUpdatedName = !name.StartsWith(defaultName); guid = SerializedGUID.Create(); }
public void EnsureHasGUID() { //Animation states used to not have guids! if (guid.GUID == Guid.Empty) { guid = SerializedGUID.Create(); } }