Exemplo n.º 1
0
 private void Start()
 {
     calculator = new GravityCalculator();
     detector   = GetComponent <GroundDetector>();
 }
Exemplo n.º 2
0
 private void Start()
 {
     detector = GetComponent <IGroundDetector>();
     // テスト用
     UpwardPower = 15f;
 }
Exemplo n.º 3
0
 private void Start()
 {
     detector   = GetComponent <IGroundDetector>();
     calculator = new VelocityCalculator();
 }
Exemplo n.º 4
0
 private void Start()
 {
     detector = GetComponent <IGroundDetector>();
 }