void Start() { Player = GameObject.FindWithTag("Player"); initial_position = transform.position; rigidBody2D = GetComponent <Rigidbody2D>(); camShake = GameObject.FindGameObjectWithTag("Effect").GetComponent <Shake>(); gamePad = GamePadController.GamePadOne; }
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); }
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); }
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); }
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); }
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; } }
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); }
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); }
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); }
void Start() { camShake = GameObject.FindGameObjectWithTag("Effect").GetComponent <Shake>(); gamePad = GamePadController.GamePadOne; }
void Start() { gamePad = GamePadController.GamePadOne; }
void Start() { gamePad1 = GamePadController.GamePadOne; gamePad2 = GamePadController.GamePadTwo; }
public GamepadHelper(GamePadController.Controller controller) { Controller = controller; }
public void Ready() { gamepad = Creator.GamepadHelper.Controller; }
public void AssignGamepad(GamePadController.Controller controller) { GamepadHelper = new GamepadHelper(controller); GetComponentInChildren <TimeVibrationController>().Ready(); }