public override bool Serialize(Archive archive, ISerializableObjectReferenceCollector collector, ref object field, object lastFieldState)
        {
            SerializeStaticAssetRef r = (SerializeStaticAssetRef)field;

            r.Serialize(archive);
            field = r.Copy();
            return(archive.isLoading);
        }
 public bool Equals(SerializeStaticAssetRef other)
 {
     return(_index == ((StaticAssetRef <T>)other)._index);
 }