Exemple #1
0
        // Use this for initialization
        void Start()
        {
            var ps = gameObject.GetComponent <Utils.JfSelectable>();

            ps.listener = this;
            shader      = gameObject.GetComponent <Utils.ColorTheSelectable>();
            shader.SetInMaskTex(BorderTexture);
            shader.SetOutMaskTex(DiceTexture);
            shader.SetTopColor(StarColor);
            shader.SetSurfColor(StarColor);
            shader.SetBackColor(BackColor);
            shader.SetDeepColor(DeepColor);
        }
Exemple #2
0
        // Use this for initialization
        void Start()
        {
            var ps = gameObject.GetComponent <Utils.JfSelectable>();

            ps.listener = this;
            shader      = gameObject.GetComponent <Utils.ColorTheSelectable>();
            shader.SetInMaskTex(SelectingTex);
            shader.SetOutMaskTex(BallTex);
            shader.SetDeepColor(DeepColor);
            shader.SetBackColor(BackColor);
            shader.SetSurfColor(SurfaceColor);
            shader.SetTopColor(TopColor);
        }