예제 #1
0
// Start is called before the first frame update
    void Start()
    {
        movespot = GameObject.Find("spawnSpotKiri");


        waitTime   = startWaitTime;
        randomSpot = Random.Range(0, movespot.GetComponent <titikGerak>().moveSpot.Length);
        StartCoroutine(timer(10));
        udahBesar = false;
        clickAble = false;
        lastclick = false;
        healthIkan.Initialize(100, 100);
    }