25 lines
448 B
C#
25 lines
448 B
C#
|
|
using System.Diagnostics;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System;
|
|
using Godot;
|
|
|
|
|
|
namespace Rokojori
|
|
{
|
|
[Tool]
|
|
[GlobalClass]
|
|
public partial class SetActiveCameraSlotIndex:CameraSlotSelector
|
|
{
|
|
[Export]
|
|
public int cameraSlotIndex;
|
|
|
|
public override VirtualCamera3DSlot GetCameraSlot()
|
|
{
|
|
var slot = VirtualCamera3DManager.Get().GetSlot( cameraSlotIndex );
|
|
return slot;
|
|
}
|
|
|
|
}
|
|
} |