Exemplo n.º 1
0
    void Start()
    {
        // Copy our quad mesh
        quad = GetComponent <MeshFilter>().mesh;

        MapSetIcon(iconIndex);
        MapSetColor(iconColor);

        // Register icon with map
        FpsHudMapCamera.RegisterIcon(this);
    }
Exemplo n.º 2
0
 void OnDisable()
 {
     FpsHudMapCamera.UnregisterIcon(this);
 }
Exemplo n.º 3
0
 void OnDestroy()
 {
     FpsHudMapCamera.UnregisterIcon(this);
 }
Exemplo n.º 4
0
 void OnEnable()
 {
     FpsHudMapCamera.RegisterIcon(this);
 }
Exemplo n.º 5
0
 void Awake()
 {
     FpsHudMapCamera.RegisterIcon(this);
 }