示例#1
0
    void Awake()
    {
        input = GetComponent <HeliInput>();
        Assert.IsNotNull(input);

        TakeInstance();
        ReportToMainCamera();
    }
示例#2
0
 public void StartChopperSounds()
 {
     currentInput = GetCurrentInput();
     currentInput.hover.start();
 }
示例#3
0
 HeliInput GetCurrentInput()
 {
     currentInput = HeliController.instance.gameObject.GetComponent <HeliInput>();
     return(currentInput);
 }