Beispiel #1
0
 protected void Start()
 {
     transformManager         = TransformManagerFactory.Instance.CreateInstance(Context.TransformManagerDescriptor, Context.TransformManagerParameters);
     transformManager.Context = Context;
     transformManager.ExtElemReferenceTransform = this.transform;
     transformManager.Update();
 }
Beispiel #2
0
        // Update is called once per frame
        protected void Update()
        {
            if (transformManager == null)
            {
                return;
            }

            transformManager.Update();
        }
Beispiel #3
0
        protected void Start()
        {
            Hint = GameObject.Instantiate(Resources.Load <GameObject>("Hint"), this.transform);
            Hint.transform.localPosition = new Vector3(0, 0, 0);
            Hint.SetActive(false);

            transformManager         = TransformManagerFactory.Instance.CreateInstance(Context.TransformManagerDescriptor, Context.TransformManagerParameters);
            transformManager.Context = Context;
            transformManager.ExtElemReferenceTransform = this.transform;
            transformManager.Update();
            UpdateConditions();
        }