예제 #1
0
 void Start()
 {
     Player           = GameObject.FindWithTag("Player");
     initial_position = transform.position;
     rigidBody2D      = GetComponent <Rigidbody2D>();
     camShake         = GameObject.FindGameObjectWithTag("Effect").GetComponent <Shake>();
     gamePad          = GamePadController.GamePadOne;
 }
예제 #2
0
 void Start()
 {
     gamePad1        = GamePadController.GamePadOne;
     gamePad2        = GamePadController.GamePadTwo;
     poem1Up.color   = new Color(255, 255, 255, 0);
     poem1Down.color = new Color(255, 255, 255, 0);
     poem2Up.color   = new Color(255, 255, 255, 0);
     poem2Down.color = new Color(255, 255, 255, 0);
 }
예제 #3
0
 void Start()
 {
     gamePad1 = GamePadController.GamePadOne;
     gamePad2 = GamePadController.GamePadTwo;
     //instTouchOrga.color = new Color(91, 33, 50, 255);
     //instTouchMecha.color = new Color(91, 33, 50, 255);
     poemOneOrga.color  = new Color(255, 255, 255, 0);
     poemOneMecha.color = new Color(255, 255, 255, 0);
 }
예제 #4
0
    void Start()
    {
        gamePad1 = GamePadController.GamePadOne;
        gamePad2 = GamePadController.GamePadTwo;

        orgaDont.color  = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        mechaDont.color = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        orgaA.color     = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        mechaA.color    = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
    }
예제 #5
0
 void Start()
 {
     gamePad1 = GamePadController.GamePadOne;
     gamePad2 = GamePadController.GamePadTwo;
     instMoveJoyOrga.color  = new Color(231f / 255f, 84f / 255f, 128f / 255f, 1);
     instMoveJoyMecha.color = new Color(231f / 255f, 84f / 255f, 128f / 255f, 1);
     instTouchOrga.color    = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
     instTouchMecha.color   = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
     poemOneOrga.color      = new Color(255, 255, 255, 0);
     poemOneMecha.color     = new Color(255, 255, 255, 0);
 }
예제 #6
0
 void Start()
 {
     Player           = GameObject.FindWithTag("Player");
     initial_position = transform.position;
     rigidBody2D      = GetComponent <Rigidbody2D>();
     camShake         = GameObject.FindGameObjectWithTag("Effect").GetComponent <Shake>();
     gamePad          = GamePadController.GamePadOne;
     if (enterZone == false)
     {
         rigidBody2D.velocity     = new Vector2(0, 0);
         rigidBody2D.gravityScale = 0.0f;
     }
 }
예제 #7
0
 private void Start()
 {
     Time.timeScale     = 1;
     PlayerSword        = GameObject.FindGameObjectWithTag("Sword");
     PlayerModel        = GameObject.FindGameObjectWithTag("PlayerModel");
     screenshot         = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <TakeScreenshot>();
     rigidBody2D        = GetComponent <Rigidbody2D>();
     transform.position = GameObject.FindWithTag("Spawn").transform.position;
     Anim     = transform.Find("model").GetComponent <Animator>();
     camShake = GameObject.FindGameObjectWithTag("Effect").GetComponent <Shake>();
     gamePad  = GamePadController.GamePadOne;
     Flip(false);
 }
예제 #8
0
    void Start()
    {
        gamePad1 = GamePadController.GamePadOne;
        gamePad2 = GamePadController.GamePadTwo;

        orgaStuck.color         = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        mechaStuck.color        = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        orgaLit.color           = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        mechaLit.color          = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        orgaLeftIntense.color   = new Color(255, 255, 255, 0);
        mechaLeftIntense.color  = new Color(255, 255, 255, 0);
        orgaRightIntense.color  = new Color(255, 255, 255, 0);
        mechaRightIntense.color = new Color(255, 255, 255, 0);

        roomLeft.SetActive(false);
        roomRight.SetActive(false);
    }
예제 #9
0
    void Start()
    {
        gamePad1 = GamePadController.GamePadOne;
        gamePad2 = GamePadController.GamePadTwo;

        instTouchOrga.color  = new Color(231f / 255f, 84f / 255f, 128f / 255f, 1);
        instTouchMecha.color = new Color(231f / 255f, 84f / 255f, 128f / 255f, 1);
        orgaOhNo.color       = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        mechaOhNo.color      = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        orgaComeHere.color   = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        mechaComeHere.color  = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        orgaHRT.color        = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        mechaMoveTG.color    = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        mechaHRT.color       = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        orgaMoveTG.color     = new Color(231f / 255f, 84f / 255f, 128f / 255f, 0);
        poemOrga.color       = new Color(255f / 255f, 255f / 255f, 255f / 255f, 0);
        poemMecha.color      = new Color(255f / 255f, 255f / 255f, 255f / 255f, 0);
    }
예제 #10
0
 void Start()
 {
     camShake = GameObject.FindGameObjectWithTag("Effect").GetComponent <Shake>();
     gamePad  = GamePadController.GamePadOne;
 }
 void Start()
 {
     gamePad = GamePadController.GamePadOne;
 }
예제 #12
0
 void Start()
 {
     gamePad1 = GamePadController.GamePadOne;
     gamePad2 = GamePadController.GamePadTwo;
 }
예제 #13
0
 public GamepadHelper(GamePadController.Controller controller)
 {
     Controller = controller;
 }
예제 #14
0
 void Start()
 {
     gamePad = GamePadController.GamePadOne;
 }
예제 #15
0
 public void Ready()
 {
     gamepad = Creator.GamepadHelper.Controller;
 }
예제 #16
0
 public void AssignGamepad(GamePadController.Controller controller)
 {
     GamepadHelper = new GamepadHelper(controller);
     GetComponentInChildren <TimeVibrationController>().Ready();
 }