using System.Collections; using System.Collections.Generic; using UnityEngine; public class RePlayBoilover : ReplaySimpleObject { public override void SetCloneGameObject(GameObject obj, string json) { obj.AddComponent(); obj.AddComponent(); BoiloverData data = JsonUtility.FromJson(json); obj.GetComponent().SetBoiloverData(data); } }