public void SetValue(GameDefine.PlantType type) { PlantType = type; TextText.text = Enum.GetName(typeof(GameDefine.PlantType), PlantType); ImageImage.raycastTarget = true; }
public void Normal() { PlantType = GameDefine.PlantType.Not; TextText.text = "空"; ImageImage.raycastTarget = false; }