void Awake() { player = gameObject; pAttribute = attribute; attribute.Set_vel(); rb = GetComponent <Rigidbody2D>(); pMove = transform.GetChild(0).GetComponent <ProcMove>(); Input.gyro.enabled = true; procMove = transform.GetChild(0).GetComponent <ProcMove>(); }
private void Start() { rb = GetComponent <Rigidbody2D>(); proc = transform.GetChild(0).GetComponent <ProcMove>(); }