public int has different value when I use it in another class

前端 未结 0 624
心在旅途
心在旅途 2021-01-06 16:39

I have this code in class A:

public int numberOfArrowsToWin=5;
private void OnTriggerEnter2D(Collider2D collision)
{
    if (collision.CompareTag("Wheel&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题