Пример #1
0
        /* Functions */

        private void Awake()
        {
            this.mAlphaObject       = this.GetComponent <JCS_AlphaObject>();
            this.mAdjustTimeTrigger = this.GetComponent <JCS_AdjustTimeTrigger>();

            this.mAdjustTimeTrigger.actions = DoFade;
        }
        /* Functions */

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

            this.mAlphaObject = this.GetComponent <JCS_AlphaObject>();

            this.mAlphaObject.SetObjectType(this.GetObjectType());
        }
Пример #3
0
        /* Functions */

        private void Awake()
        {
            this.mAlphaObject = this.GetComponent <JCS_AlphaObject>();
        }