I’m trying to convert Unity’s CharacterMotor(js) script into my own c# version, but it crashes when I put the script on an object. please help, I can usually figure things out, but I don’t know what I’m doing wrong.
using UnityEngine;
using System.Collections;
public class MyCharacterMotor : MonoBehaviour {
public MyCharacterMotorMovement movement = new MyCharacterMotorMovement();
}
public class MyCharacterMotorMovement : MyCharacterMotor{
}