24 lines
431 B
C#
24 lines
431 B
C#
using System;
|
|
using System.Diagnostics;
|
|
using FlaxEngine;
|
|
using FlaxEngine.GUI;
|
|
|
|
namespace Game;
|
|
|
|
public class CrosshairWidget : Script
|
|
{
|
|
private Image control;
|
|
|
|
public override void OnAwake()
|
|
{
|
|
var uiControl = Actor.As<UIControl>();
|
|
//control = new Image();
|
|
//uiControl.Control = control;
|
|
|
|
control = (Image)uiControl.Control;
|
|
}
|
|
|
|
public override void OnUpdate()
|
|
{
|
|
}
|
|
} |