void Update() { if (instance == null) { instance = this; } }
void Start() { if (instance == null) { instance = this; } ani = GetComponent <Animator>(); }