コード例 #1
0
 public void Set(TrackLineInfo info)
 {
     gameObject.SetActive(true);
     _info            = info;
     _startFrame.text = info._sFrame.ToString();
     _endFrame.text   = info._eFrame.ToString();
     _desField.text   = info._des;
 }
コード例 #2
0
        public void OnAddTrickLine(System.Object obj)
        {
            TrackLineInfo info = obj as TrackLineInfo;
            TrackLineItem item = Instantiate(_trackLinePfb);

            item.Set(info);
            GameObjectHelper.SetParent(item.gameObject, _trackLinesParent);
            _trackItems.Add(item);
            _info.AddTrackLine(info);
        }
コード例 #3
0
 public override void Add(TrackLineInfo info)
 {
     _info = new PlayAnimInfo();
     info.AddNode(_info);
 }
コード例 #4
0
 public void Set(TrackLineInfo info)
 {
     _info = info;
 }
コード例 #5
0
 public void OnSelectTrackLine(System.Object param)
 {
     _info = param as TrackLineInfo;
     Clear();
     _baseFrameItem.Set(_info);
 }
コード例 #6
0
 public void AddTrackLine(TrackLineInfo info)
 {
     _trackLines.Add(info);
 }