示例#1
0
    // Use this for initialization
    void Start()
    {
        corgi       = GameObject.Find("Player 1");
        corgiSprite = GameObject.Find("Corgi");
        ca          = corgiSprite.GetComponent <CorgiAnimations>();


        spoopingTheDog = false;
    }
示例#2
0
    // Use this for initialization
    void Start()
    {
        idle      = false;
        spooped   = true;
        running   = false;
        withCorgi = false;

        cf          = GetComponentInParent <CollectingFrands>();
        corgiSprite = GameObject.Find("Corgi");
        ca          = corgiSprite.GetComponent <CorgiAnimations>();
        corgi       = GameObject.Find("Player 1");
    }