void Start() { m_Fish2Move = Fish2.transform.GetComponent <Fish2Move>(); m_RedNeedle = Resources.Load("RedNeedle") as GameObject; m_IceBullet = Resources.Load("IceBullet") as GameObject; BulletBox = GameObject.Find("BulletBox"); fishATK = GameObject.Find("AudioBox").GetComponent <Audio>().m_FishATK; }
// Use this for initialization void Start() { m_Fish2Move = Fish2.transform.GetComponent <Fish2Move>(); m_Needle = Resources.Load("Needle") as GameObject; m_RedNeedle = Resources.Load("RedNeedle") as GameObject; BulletBox = GameObject.Find("BulletBox"); fishATK = GameObject.Find("AudioBox").GetComponent <Audio>().m_FishATK; allATK = GameObject.Find("AudioBox").GetComponent <Audio>().m_AllATK; m_Time = Time.time; flg = 0; }