Пример #1
0
 void Start()
 {
     FlickScript  = GetComponent <Flicker>();
     CubeScript   = ControllCube.GetComponent <ControllCube>();
     nStageHeight = ProbSetting.GetComponent <ProbSetting>().NStageHeight;
     nStageWidth  = ProbSetting.GetComponent <ProbSetting>().NStageWidth;
     RollSE       = GetComponent <AudioSource>();
 }
Пример #2
0
    void Start()
    {
        nTexture = texture.Length;
        i        = 0;
        j        = 0;

        Cube = GameObject.Find("ControllCube").GetComponent <ControllCube>();

        SlideSE = GetComponent <AudioSource>();
    }
Пример #3
0
 void Start()
 {
     nTexture    = texture.Length;
     i           = 0;
     j           = 0;
     Cube        = GameObject.Find("ControllCube").GetComponent <ControllCube>();
     ForceSE     = GetComponent <AudioSource>();
     rotate_time = time * 2;
     Position    = transform.position;
     Angle       = transform.eulerAngles;
 }
Пример #4
0
    void Start()
    {
        nTexture = texture.Length;
        i        = 0;
        j        = 0;

        Cube         = GameObject.Find("ControllCube");
        ControllCube = Cube.GetComponent <ControllCube>();
        ClearText.SetActive(false);

        ClearSE = GetComponent <AudioSource>();
    }
Пример #5
0
    void Start()
    {
        nTexture     = texture.Length;
        i            = 0;
        j            = 0;
        Cube         = GameObject.Find("ControllCube");
        ControllCube = Cube.GetComponent <ControllCube>();
        Partner_x    = Partner.transform.position.x;
        Partner_z    = Partner.transform.position.z;

        TransportSE = GetComponent <AudioSource>();
    }