async public void List() { var controller = new PannelController(); var result = await controller.list(); Assert.NotNull(result); }
//AudioSource AudioSource; private void Start() { //AudioSource = GetComponent<AudioSource>(); characterMover = FindObjectOfType <CharacterMover>(); monsterControl = MonsterControl(); isActive = true; pannelController = new PannelController(); pannelController.pannelRenderer = objMonsterPannel.GetComponent <SpriteRenderer>(); }
private void Start() { this.Audio = gameObject.GetComponent <AudioSource>(); Looping = false; pannelController = new PannelController(); pannelController.pannelRenderer = Monster2.GetComponent <SpriteRenderer>(); Monsteranimator = Monster2.GetComponent <Animator>(); Monsteranimator.SetBool("isStop", true); Monsteranimator.speed = 1.5f; }