Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lecture14のエラー #18

Open
Bunny63857 opened this issue May 27, 2019 · 1 comment
Open

Lecture14のエラー #18

Bunny63857 opened this issue May 27, 2019 · 1 comment

Comments

@Bunny63857
Copy link

Laserクラスの以下の部分がエラーを吐く
Color = new asd.Color(255, 255, 255, startAlpha);
DrawLineAdditionally(GetGlobalPosition(), destPos, new asd.Color(120, 160, 255, startAlpha), 5, asd.AlphaBlendMode.Add, 0);
startAlphaが暗黙的に型変換されないことが原因。
(int)startAlphaと明示することによって解決

@durswd
Copy link
Collaborator

durswd commented Jun 2, 2019

修正しました

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants