/// <summary> /// 初期化 /// </summary> public void Initialize(GaugeManager manager) { // ゲージ管理取得 m_GaugeManager = manager; // 元速度入力コールバック設定 m_OriginSpeedInputField.onEndEdit.AddListener(OnOriginSpeedInput); }
void Start() { uiManager = GameObject.FindGameObjectWithTag("UIManager").GetComponent <UIManager>(); gaugeManager = GameObject.FindGameObjectWithTag("GaugeManager").GetComponent <GaugeManager>(); eventsOfDays = new Dictionary <int, Event[]>(); initiateDays(); initiateEventsOfDays(); BuildActions(); chat.SetActive(false); }
// Start is called before the first frame update void Start() { instance = this; bous = new bou2[instance.transform.childCount]; for (int i = 0; i < bous.Length; i++) { bous[i] = instance.transform.GetChild(i).GetComponent <bou2>(); } gaugeManager = GameObject.Find("Gauge").GetComponent <GaugeManager>(); gaugeManager.InitFillAmount(); clearFlag = false; isGameOver = false; }
public BaseGauge(GaugeManager manager) { Manager = manager; }
private void Awake() { instance = this; }
public DRK(GaugeManager manager) : base(manager) { }