void Start() { ht = HitTest_Select.Instance(); m_MyAudioSource = this.gameObject.GetComponent <AudioSource>(); m_Play = true; }
void Awake() { foreach (Transform childParticle in gameObject.transform) { PSs.Add(childParticle.GetComponent <ParticleSystem>()); childParticle.gameObject.SetActive(false); } ht = HitTest_Select.Instance(); }
private void Awake() { scanButton.onClick.AddListener(SetWorldOrigin); showDropdown.onClick.AddListener(ShowTimeUI); hideDropdown.onClick.AddListener(HideTimeUI); ht = HitTest_Select.Instance(); }