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>(); }
public void GetPoint() { point = FindObjectOfType <Log_Rotation>(); curentPiont.text = point.point.ToString(); }