示例#1
0
 public override void Load(BinaryReader _reader, Version _version, bool _import, bool _tree = true)
 {
     base.Load(_reader, _version, _import, false);
     this.speed      = _reader.ReadSingle();
     this.easeType   = (StudioTween.EaseType)_reader.ReadInt32();
     this.connection = (OIRoutePointInfo.Connection)_reader.ReadInt32();
     if (this.aidInfo == null)
     {
         this.aidInfo = new OIRoutePointAidInfo(_import ? Studio.Studio.GetNewIndex() : -1);
     }
     this.aidInfo.Load(_reader, _version, _import, true);
     this.link = _reader.ReadBoolean();
 }
 public PointAidInfo(GuideObject _guideObject, OIRoutePointAidInfo _aidInfo)
 {
     this.guideObject = _guideObject;
     this.aidInfo     = _aidInfo;
 }