コード例 #1
0
 void Awake()
 {
     shooterControl  = turret.GetComponent <ShooterControl>();
     turretControl   = turret.GetComponent <TurretControl>();
     hoodControl     = hood.GetComponent <HoodControl>();
     flywheelControl = flywheel.GetComponent <FlywheelControl>();
     intakeControl   = intake.GetComponent <IntakeControl>();
 }
コード例 #2
0
    void Awake()
    {
        turretControl   = turret.GetComponent <TurretControl>();
        hoodControl     = hood.GetComponent <HoodControl>();
        flywheelControl = flywheel.GetComponent <FlywheelControl>();
        intakeControl   = intake.GetComponent <IntakeControl>();

        timer = Time.time;
    }
コード例 #3
0
 void Awake()
 {
     flywheelData = flywheel.GetComponent <FlywheelControl>();
 }