// Use this for initialization void Start() { openPTrack = OpenPTrackConsumer.getOpenPTrackConsumer(); if (openPTrack == null) { Debug.LogError("MoveFromTrack created before OpenPTrackConsumer. Fix script execution order. You can do this via the Unity Menu \'Edit > Project Settings > Script Execution Order\'."); } openPTrack.addListener(this); initalObjectPosition = new Vector3(transform.position.x, transform.position.y, transform.position.z); }
// start is called by Unity public void Start() { if (theConsumer != null) { Debug.LogError("Only one OpenPTrackListener should be created"); } else { theConsumer = this; } face = new Face(config.hostName); this.prefix = new Name(config.rootPrefix).append(config.spaceName); startTimeComponent = new Name.Component(); expressInitialInterest(); }
public TrackHandler(OpenPTrackConsumer consumerOuterInstance) { this.consumerOuterInstance = consumerOuterInstance; }
public InitialDataHandler(OpenPTrackConsumer consumerOuterInstance) { this.consumerOuterInstance = consumerOuterInstance; }