コード例 #1
0
 private void Awake()
 {
     m = GetComponent <TrainGameManager>();
     r = GetComponent <TrainRoundManager>();
     i = GetComponent <MovementInput>();
 }
コード例 #2
0
    private Queue <byte> moveQueue; // At max 2 long

    private void Start()
    {
        manager       = GetComponent <TrainGameManager>();
        framesPerStep = manager.framesPerStep;
        moveQueue     = new Queue <byte>();
    }