//------------------------------------- // 関数 //------------------------------------- // Use this for initialization void Start() { pumpkinParent = transform.GetChild(0).gameObject; pumpkingAnimator = pumpking.transform.GetChild(0).GetComponent <Animator>(); pumpkinParent.SetActive(false); throwBom = pumpking.GetComponent <ThrowBom>(); bomCount = GetComponent <BomCount>(); playerMove = GetComponent <PlayerMove>(); cam = Camera.main; FlickInitialize(); layerMask = LayerMask.GetMask(new string[] { "Stage", "Boss" }); }
// Use this for initialization void Start() { throwBom = GetComponent <ThrowBom>(); camShake = Camera.main.GetComponent <CameraShake>(); }
// Use this for initialization void Start() { throwBom = transform.parent.GetComponent <ThrowBom>(); bombObj = throwBom.GetBomObj(); }