You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Added BP-like class picker for schema when StateTree asset is created - Added "CommonSchema" meta tag for schemas to allow them to be added to the common list - Allow the asset on StateTree actor component to EditAnywhere - Fixed compilation indication for empty StateTrees (was showing red) #robomerge EngineMerge #jira UE-151649 #rb Yoan.StAmant #preflight 62beaeeb8d5e6787590a0921 [CL 20911820 by mikko mononen in ue5-main branch]
21 lines
651 B
C++
21 lines
651 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "StateTreeSchema.h"
|
|
#include "StateTreeComponentSchema.generated.h"
|
|
|
|
/**
|
|
* StateTree for Actors with StateTree component.
|
|
*/
|
|
UCLASS(BlueprintType, EditInlineNew, CollapseCategories, meta = (DisplayName = "StateTree Component", CommonSchema))
|
|
class UStateTreeComponentSchema : public UStateTreeSchema
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
protected:
|
|
virtual bool IsStructAllowed(const UScriptStruct* InScriptStruct) const override;
|
|
virtual bool IsClassAllowed(const UClass* InScriptStruct) const override;
|
|
virtual bool IsExternalItemAllowed(const UStruct& InStruct) const override;
|
|
};
|