| 12345678910111213141516171819202122 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class PowerDrop : MonoBehaviour
- {
- public float powerAmount = -100.0f;
- [SerializeField]
- private UnityEngine.UI.Text textField;
- // Use this for initialization
- void Start () {
- textField.text = powerAmount.ToString();
- }
-
- // Update is called once per frame
- void Update () {
-
- }
- }
|