Пример #1
0
        public override void BeginPlay()
        {
            PawnStartXPoint                = MyOwner.GetActorLocation().X;
            gamemaster.OnBallLaunch       += StartFollowingBall;
            gamemaster.OnNudgeBallLeft    += NudgeBallLeft;
            gamemaster.OnNudgeBallRight   += NudgeBallRight;
            gamemaster.BowlNewTurnIsReady += NewTurnIsReady;
            gamemaster.OnWinGame          += OnWinGame;

            MyStartLocation = MyOwner.GetActorLocation();
            MyStartRotation = MyOwner.GetActorRotation();
        }