コード例 #1
0
    public override void Start()
    {
        base.Start();

        SetupModels();

        rIndicator = GetComponentInChildren <RangeIndicator>();
        rIndicator.Init(rIndicatorMaxRad.x, Color.red, 360);
        rIndicator.gameObject.SetActive(false);
        camShaker = Camera.main.GetComponent <CameraShakeSimpleScript>();

        followCamera.transform.Rotate(camRotOffset);
        camFollowPt = transform.position + camPosOffset;
        followCamera.transform.position = camFollowPt;

        sk2Button.Active(false);
        sk3Button.Active(false);
    }