コード例 #1
0
    public MSBBB.Event.WalkRoute Serialize(GameObject parent)
    {
        var evt = new MSBBB.Event.WalkRoute(ID, parent.name);

        _Serialize(evt, parent);
        evt.UnkT00 = UnkT00;
        for (int i = 0; i < 32; i++)
        {
            if (i >= WalkPointNames.Length)
            {
                break;
            }
            evt.WalkPointNames[i] = (WalkPointNames[i] == "") ? null : WalkPointNames[i];
        }
        return(evt);
    }
コード例 #2
0
 public void SetEvent(MSBBB.Event.WalkRoute evt)
 {
     setBaseEvent(evt);
     UnkT00         = evt.UnkT00;
     WalkPointNames = evt.WalkPointNames;
 }