using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class Box : MonoBehaviour
{
const float Gravity = -0.01f;
//追記1
[SerializeField]
Tilemap tilemap;
//---- 省略 ----
// Start is called before the first frame update
void Start()
{
//追記2
GameObject time60Obj = GameObject.Find("Time60");
time60 = time60Obj.GetComponent<Time60>();
}
// Update is called once per frame
void Update()
{
//追記3
// 1/60秒ごとに処理をするための門番
if( time60.CheckFlame() != true) return;
//---- 省略 ----
}
}