Monobehaviour methods not called

Hello,

I am stuck with a little problem. I got 2 classes RFTerrainRoad derived from RFTerrainPath. RFTerrainPath is derived from Monobehaviour.
I can t figure out why the Awake, Start or Update methods of RFTerrainRoad are never called.
Can you give me a hint?

Thank you for your help

Greetings

Eduard

RFTerrainPath

using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class RFTerrainPath : MonoBehaviour
{
// no code here
}

RFTerrainRoad

using UnityEngine;
using UnityEditor;
using System.Collections;

public class RFTerrainRoad : RFTerrainPath
{
[MenuItem(“Terrain/RFTerrain/Add RFTerrainRoad”)]
static void MenuAddRoad()
{
GameObject newRoad = new GameObject (“RFTerrainRoad”);
newRoad.AddComponent();

Debug.Log (“add road”);
}
void Awake()
{
Debug.Log (“awake road”);
}
void Start()
{
Debug.Log (“start road”);
}

// Update is called once per frame
void Update () {
Debug.Log (“update road”);
}
}

@Moderator: can you please delete this thread? The solution is I didn t hit “play” :slight_smile: As I am messing around with a custom editor I got somewhat confused.