예제 #1
0
    public void SpawnMarker(Transform target, Color color, string label, bool isLockable)
    {
        var newMarker = Instantiate <HUDMarker>(markerPrefab, CachedTransform);

        newMarker.Setup(viewCamera, target, _screenHalfDimensions, color, label, isLockable, this);
        compass.AddCustomHUDMarker(newMarker);
    }