|
@@ -2421,6 +2421,16 @@ void GDParser::_parse_class(ClassNode *p_class) {
|
|
|
}; //fallthrough to use the same
|
|
|
case Variant::REAL: {
|
|
|
|
|
|
+ if (tokenizer->get_token()==GDTokenizer::TK_IDENTIFIER && tokenizer->get_token_identifier()=="EASE") {
|
|
|
+ current_export.hint=PROPERTY_HINT_EXP_EASING;
|
|
|
+ tokenizer->advance();
|
|
|
+ if (tokenizer->get_token()!=GDTokenizer::TK_PARENTHESIS_CLOSE) {
|
|
|
+ _set_error("Expected ')' in hint.");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
float sign=1.0;
|
|
|
|
|
|
if (tokenizer->get_token()==GDTokenizer::TK_OP_SUB) {
|