示例#1
0
        /* Functions */

        protected override void Awake()
        {
            base.Awake();

            if (mToggleSign == null)
            {
                this.mToggleSign = this.GetComponentInChildren <JCS_ToggleSign>();
            }

            this.mColorTweener = this.GetComponent <JCS_ColorTweener>();

            // Add interactable callback.
            this.interactableCallback += InteractableCallback;
        }
示例#2
0
        /* Functions */

        private void Awake()
        {
            this.mTransformTweener = this.GetComponent <JCS_TransformTweener>();
            this.mColorTweener     = this.GetComponent <JCS_ColorTweener>();
        }