Hello,
I've made a simple script to change direct movement from camera relative to tank controls via call event/send message.
However, I got some errors I couldn't really fix..
Here is the script:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using AC;
public class ChangeDirectMovement : MonoBehaviour
{
void ToTank()
{
AC.KickStarter.settingsManager.directMovementType.TankControls;
}
void ToCamera()
{
AC.KickStarter.settingsManager.directMovementType.RelativeToCamera;
}
}
`
I would appreciate it if someone could fix it ..
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments