// Use this for initialization void Start() { otObject = GetComponent <OTObject>(); otObject.BoundBy(GameObject.Find("Boundary").GetComponent <OTObject>()); OT.Persist(otObject); }
// Use this for initialization void Start () { otObject = GetComponent<OTObject>(); otObject.BoundBy(GameObject.Find("Boundary").GetComponent<OTObject>()); OT.Persist(otObject); }
void OnLevelWasLoaded(int level) { otObject.BoundBy(GameObject.Find("Boundary").GetComponent <OTObject>()); }