Exemple #1
0
    // Start is called before the first frame update
    void Start()
    {
        changescript = GameObject.Find("SceneChange").GetComponent <changeScript>();
        //changescript.rightPalmD.OnActivate.AddListener(rainning);

        rainRoutine = startRain();
        sunRoutine  = startShine();

        pineconeAni = pinecone.GetComponent <Animation>();
    }
Exemple #2
0
    // Start is called before the first frame update
    void Start()
    {
        //Debug.Log("start!!");
        dandelionAni = dandelion.GetComponent <Animation>();

        windAction = handswing();

        preTime = -0.1f;

        changeScript changescript = GameObject.Find("SceneChange").GetComponent <changeScript>();

        // 흩날리는 ani1 속도 조정, 민들레 흔들리는 ani0 play
        dandelionAni["dandelion_ani1"].speed = 1.2f;
        dandelionAni.Play("dandelion_ani0");
    }