Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     railWalker = GetComponent <RailWalker>();
 }
Example #2
0
 public void Init(RailWalker train, Vector2Int coords)
 {
     train.onNewCoords.AddListener(OnNewTrainCoords);
     this.coords = coords;
 }