Ln Go

StartZone 본문

Unity/Quad Action

StartZone

Ln Ro 2021. 6. 4. 02:23
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class StartZone : MonoBehaviour
{
    public GameManager manager;

    private void OnTriggerEnter(Collider other)
    {
        if (other.gameObject.tag == "Player")
            manager.StageStart();
    }
}

'Unity > Quad Action' 카테고리의 다른 글

Follow  (0) 2021.06.04
Item  (0) 2021.06.04
Orbit  (0) 2021.06.04
Missile  (0) 2021.06.04
Bullet  (0) 2021.06.04
Comments