Example #1
0
        void OnEnable()
        {
            cTrans = target as CinemaTransformor;
            Debug.Log("cTrans = target as CinemaTransformor; " + cTrans);

            CheckInitState();
        }
Example #2
0
        // Use this for initialization
        void Start()
        {
            ciTrans = FindObjectOfType <CinemaTransformor> ();

            DragCollider           = gameObject.AddComponent <BoxCollider> ();
            DragCollider.isTrigger = true;
            DragCollider.size      = new Vector3(2, 1, 2);
            DragCollider.enabled   = false;
        }
Example #3
0
        // Use this for initialization
        void Start()
        {
            ciTrans = FindObjectOfType <CinemaTransformor>();

            canvasRaycaster = FindObjectsOfType <GraphicRaycaster>();
        }
Example #4
0
 public override void OnInspectorGUI()
 {
     base.OnInspectorGUI();
     cTrans = target as CinemaTransformor;
 }
Example #5
0
 // Use this for initialization
 void Start()
 {
     ciTrans = GetComponent <CinemaTransformor> ();
 }