KissTrigger.cs 319 B

123456789101112131415
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class KissTrigger : MonoBehaviour
  5. {
  6. public void StartKiss()
  7. {
  8. if(Core.Instance.IsGameMode == Core.StateModeGame.Kiss)
  9. {
  10. GetComponent<FinishKissTower>().ActiveKiss();
  11. }
  12. }
  13. }