Example #1
0
    private void Start()
    {
        paintObjs[0].AddOnPaintingListener(OnPaintBallShot);
        originPos = fish.transform.localPosition;

        fish.transform.localPosition += new Vector3(-0.5f, 0, 0);
        jumpStartPoint = fish.transform.position;
        fish.transform.localPosition -= new Vector3(-0.5f, 0, 0);

        PaintBallEventManager.StartListeningGameOverEvent(OnGameOverEvent);
    }