Class GunSelectWindow
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
GunSelectWindow
Namespace: BaseDefense.UI
Assembly: BaseDefense.dll
Syntax
[RequireComponent(typeof(Canvas), typeof(CanvasGroup))]
public class GunSelectWindow : MonoBehaviour
Properties
Canvas
Declaration
public Canvas Canvas { get; }
Property Value
Type | Description |
---|---|
Canvas |
CanvasGroup
Declaration
public CanvasGroup CanvasGroup { get; }
Property Value
Type | Description |
---|---|
CanvasGroup |
Methods
OnSelectGun(RectTransform)
Declaration
public void OnSelectGun(RectTransform rectTransform)
Parameters
Type | Name | Description |
---|---|---|
RectTransform | rectTransform |
SelectGun(GunSlot)
Declaration
public void SelectGun(GunSlot gunSlot)
Parameters
Type | Name | Description |
---|---|---|
GunSlot | gunSlot |