void Start() { startScript = FindObjectOfType <StartMove>(); rend = GetComponent <Renderer>(); alpha = 1; }
void Start() { startScript = FindObjectOfType <StartMove>(); this.rb = GetComponent <Rigidbody2D>(); }
public void OnStartMove() { StartMove?.Invoke(); }
protected void OnStartMove() { StartMove?.Invoke(); }