Exemplo n.º 1
0
    //public Material snowMaterial;
    public override void Enter()
    {
        base.Enter();
        owner.render.material.SetColor("_Color", Color.white);
        owner.render.material.SetFloat("_Blend", 1f);
        owner.render.GetComponent <Animator>().speed = 0;
        GChess chess = (owner as GChess);

        chess.DisableAction();
    }