예제 #1
0
 void Start()
 {
     level    = FindObjectOfType <Level_Manager>();
     knifesUI = FindObjectOfType <KnifesUI>();
     control  = FindObjectOfType <Progress_Control>();
     log      = FindObjectOfType <Log_Rotation>();
     game     = FindObjectOfType <Game_Manager>();
     rb       = GetComponent <Rigidbody2D>();
     cldr     = GetComponent <BoxCollider2D>();
 }
예제 #2
0
    public void GetPoint()
    {
        point = FindObjectOfType <Log_Rotation>();

        curentPiont.text = point.point.ToString();
    }