예제 #1
0
 public Point(Vector3 pt_pos, Vector3 rot, Vector3 aid_pos, float speed, StudioTween.EaseType easeType, OIRoutePointInfo.Connection connection, bool link)
 {
     this.pt_pos     = pt_pos;
     this.rot        = rot;
     this.aid_pos    = aid_pos;
     this.speed      = speed;
     this.easeType   = easeType;
     this.connection = connection;
     this.link       = link;
 }
예제 #2
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();
 }