2025-06-10 13:16:36 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2025-08-31 06:05:39 +00:00
|
|
|
public override CameraSlot GetCameraSlot()
|
2025-06-10 13:16:36 +00:00
|
|
|
{
|
2025-08-31 06:05:39 +00:00
|
|
|
var slot = CameraManager.Get().GetSlot( cameraSlotIndex );
|
2025-06-10 13:16:36 +00:00
|
|
|
return slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|