public void Init(Vector3 position) { transform.position = position; m_smokePlayer.SetClip(0); m_smokePlayer.Play(); }
public override void OnAllocate() { base.OnAllocate(); m_scrollingObject = gameObject.GetComponent <ScrollingObject>(); m_coinPlayer.SetClip(0); m_coinPlayer.Play(); }