class properties {
var positions : Transform;
var positiontype : int;
var neighbour : Transform[];
}
class position extends MonoBehaviour {
var positionfeature : properties[];
}
this code is working fine and an array of object of class type properties is generated and i can assign public variable in inspector
but same code in C# is not working
using UnityEngine;
using System.Collections;
public class properties
{
public Transform positions;
public int positionType;
}
public class position : MonoBehaviour {
public properties[] xyz;
}
this does not work fine … the same does not happen with CS
> position : MonoBehaviour Hi this doesnot extend editor it is just definig the script name as position
– deltamish