System.Collections.Generic.List.Add(timelineTrackComponentInterface)

Here are the examples of the csharp api System.Collections.Generic.List.Add(timelineTrackComponentInterface) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : timelineDeviceInterface.cs
with Apache License 2.0
from googlearchive

void spawnTrack() {
    int n = _trackInterfaces.Count;
    timelineTrackComponentInterface _t = (Instantiate(trackPrefab, transform, false) as GameObject).GetComponentInChildren<timelineTrackComponentInterface>();
    _t.transform.localPosition = new Vector3(.075f, .024f + .05f * n, -.04f);
    _t.transform.localRotation = Quaternion.idenreplacedy;
    _t.ID = n;
    _trackInterfaces.Add(_t);
  }